<%@page import="board.BoardMyba"%>
<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>modify_result</title>
<script>
function btList(){
	location.href="list.jsp";
}

</script>

</head>
<body>
<%request.setCharacterEncoding("utf-8");%>
<jsp:useBean id='vo' class='board.BoardVo'/>
<jsp:setProperty property="*" name="vo"/>
<%

BoardMyba board=new BoardMyba();
vo.setRequest(request);//setBoardvo(vo)하기 전에 setRequest를 해줘야함
board.setBoardvo(vo);

boolean f= board.modify();

if(f) out.print("정상적으로 수정되었습니다.");
else out.print("수정중 오류발생"); 

%>
<input type="button" value='목록' onclick="btList()">

</body>
</html>